package withLamportClock;

/**
 * Classe das mensagens !
 * @author jjeske
 *
 */
public class Message {
	
	public int getPorta() {
		return porta;
	}
	public void setPorta(int porta) {
		this.porta = porta;
	}
	public int getMsg() {
		return msg;
	}
	public void setMsg(int msg) {
		this.msg = msg;
	}
	public int getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(int timeStamp) {
		this.timeStamp = timeStamp;
	}
	
	public Message(int porta, int msg, int timeStamp) {
		super();
		this.porta = porta;
		this.msg = msg;
		this.timeStamp = timeStamp;
	}
	
	public Message() {
		super();
	}	
	
	private int porta 		= 999999; //999999 means error! TODO: fix that!
	private int msg   		= 999999;
	private int timeStamp 	= 999999;

}
